package com.example.demo.api;

public interface IVideoService {

//    String Host="http://10.25.2.34:8314";
    String Host="http://10.25.2.170:8314";
    String POST_AUTHORIZE_URL=Host+"/videoService/accounts/authorize";
    String KEEP_ALIVE_URL=Host+"/videoService/accounts/token/keepalive";
    String GET_DEVICE_TREE=Host+"/videoService/devicesManager/deviceTree";
    String GET_VIDEO_URI=Host+"/videoService/realmonitor/uri";

//    String userName="system";
//    String passValue="zsxxzx2280191";
//    String clientType="winpc";
//    String realm="TheNextService";


    /**
     * 第一次授权
     */
    String sendFirstAuthorize();

    String sendSecondAuthorize(String signature, String randomKey);

    String keepAlive(String token);

    String getVideoDeviceTree(String id, Integer noteType, String typeCode, Integer page, Integer pageSize);

    String getRealMonitor(String channelId,String token);
}
